/*
 * @Author: Jackie
 * @Date: 2020-11-28 15:44:35
 * @LastEditors: Jackie
 * @LastEditTime: 2020-11-28 19:57:33
 * @Description: 主入口文件
 * @FilePath: \vue\vue_shop\src\main.js
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router';
import "./assets/css/global.css"//导入全局样式表
import './plugins/element.js'

import axios from "axios"
//配置请求根路径
axios.defaults.baseURL="http://127.0.0.1:8888/api/private/v1/"
Vue.prototype.$http=axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
